@media only screen and (min-width : 1224px) {
    body {
        font-family: verdana;
        margin: 0px;
    }
    h1, h2, h3, h4, h5, p, a, ul, li {
        margin: 0;
        padding: 0;
        
    }
    #container {
        margin: auto;
        padding: 0px;
        max-width: 1000px;
    }
    #header {
        float: left;
        position: relative;
        width: 100%;
        min-height: 100px;
    }
    .header-top {
        padding-top: 5px;
        min-height: 27px;
        width: 100%;
        background: #FAA819;
    }
    .header-top a {
        float: left;
        color: #fff;
        text-decoration: none;
        padding-right: 10px;
        padding-left: 10px;
        border-right: solid 1px #333;
    }
    .header-midle {
        width: 100%;
        background: rgb(249,249,249); /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url();
        background: -moz-linear-gradient(top,  rgba(249,249,249,1) 0%, rgba(255,222,181,1) 47%, rgba(250,168,25,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(47%,rgba(255,222,181,1)), color-stop(100%,rgba(250,168,25,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#faa819',GradientType=0 ); /* IE6-8 */

        float: left;
    }
    .header-midle .logo {
        text-align: center;
    }
    .header-midle .logo img{
        max-width: 100px;
        margin: 10px;
        float: left;
    }
    .header-midle .title{
        margin-top: 100px;
        text-align: left;
        float: left;
    }
    .header-midle .title h3 {
        font-size: 20px;
        color: #333;
    }
    .header-midle .title h4 {
        color: #333;
        font-size: 10px;
    }
    .connect {
        float: right;
        margin: auto;
        margin: 10px;
        width: 300px;
        text-align: right;
    }
    .connect .social {
        float: right;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background: #fff;
        padding: 5px;
        width: 176px;
    }
    .connect p{
        display: none;
    }
    #search {
        width: 300px;
        float: right;
        margin: 10px;
        text-align: right;
    }
    .menu {
        width: 100%;
        float: left;
        min-height: 40px;
        background: #FF9100;
    }
    .menu ul {
        float: left;
        position: relative;
        padding: 10px;
    }
    .menu ul li {
        text-align: center;
        list-style: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px 5px 5px 5px;
        background: none repeat scroll 0% 0% rgb(245, 227, 203);
        padding: 2px;
        float: left;
        text-decoration: none;
        margin: 0px 2px 4px;
        width: 92px;
        font-size: 14px;
    }
    .menu ul li a {
        text-decoration: none;
        color: #333;
    }
    .menu ul li a:hover {
        color: #FF9100; 
    }
    #slide {
        width: 100%;
        background: #f9e6ab;
        margin: 5px auto;
        float: left;
        
    }
/*    imgslide*/
    #slide img{
        float: left;
        width: 100%;
        max-width: 600px;
    }
    #content {
        float: left;
        position: relative;
    }
    .left-content {
        max-width: 1024px;
        width: 180px;
        margin: auto;
        float: left;
    }
    .subdomain {
        max-width: 1024px;
        width: 100%;
        float: left;
        margin: 3px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        height: 250px;
    }
    .subdomain h4 {
        color: rgb(255, 255, 255);
        min-height: 20px;
        background: none repeat scroll 0% 0% rgb(255, 145, 0);
        padding: 5px;
    }
    .subdomain > div{
        text-align: center;
        max-width: 640px;
        width: none;
        margin: 5px;
    }
    .subdomain > div img{
        margin: 4px;
        width: 150px;
        float: none;
    }
    .top-content {
        margin: 3px 10px auto;
        max-width: 1024px;
        width: 500px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;
        float: left;
    }
    .sub-top-content {
        padding-bottom: none;
        margin: 0 0 5px 0;
        float: left;
        max-width: 1024px;
        width: 100%;
    }
    .sub-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 1024px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-top-content > div{
        width: none;
        margin: 5px;
        float: left;
    }
    .sub-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .sub-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .sub-top-content > div p{
        color: #333333;
        float: none;
        font-size: 13px;
    }
    .sub-top-content > div img{
        margin-right: 5px;
        width: 150px;
        float: left;
    }
    .no-hal {
        width: 70px;
        float: right;
        margin: 10px;
    }
    .detail-top-content {
        padding-bottom: 5px;
        margin: 0px 0 5px 0;
        float: left;
        max-width: 1024px;
        width: 100%;
/*        height: 100%;*/
    }
    .detail-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 1024px;
        padding: 5px;
        background: #FF9100;
    }
    .detail-top-content > div{
        width: 100%;
        margin: 5px;
        float: left;
    }
    .detail-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .detail-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .detail-top-content > div p{
        text-align: justify;
        color: #333333;
        float: left;
        font-size: 12px;
        padding: 5px;
        width: 96%;
    }
    .detail-top-content > div img{
        margin: auto;
        width: 98%;
        float: left;
    }
    .no-hal a{
        color: #FF9100;
        text-decoration: none;
        font-size: 14px;
        margin-right: 5px;
    }
    .right-content {
        height: 500px;
        margin: 5px auto;
        max-width: 1024;
        width: 300px;
        padding-bottom: 3px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;

    }
    .right-content h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .right-content > div{
        float: left;
        width: none;
        margin: 5px;
        float: left;
    }
    .right-content > div h5{
        float: left;
        float: left;
        width: 100%; 
        color: #333333;
    }
    .span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .right-content > div p{
        color: #333333;
        font-size: 13px;
    }
    .right-content > div img{
        margin-right: 5px;
        width: 100px;
        float: left;
    }
    .more {
        text-align: center;
        padding: 5px;
        background: #FF9100;
        color: #fff;
        width: 100px;
        float: right;
        font-weight: bold;
        margin-right: 7px;
        font-size: 10px;
    }
    .more a{
     text-decoration: none;
     color: white;
    }
    .bottom-content {
        margin: auto;
        max-width: 1024px;
        width: 101%;
    }
    .sub-bottom-content-left {
        padding-bottom: 5px;
        margin: 5px auto;
        max-width: 640px;
        width: 32%;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-left h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-left > div{
        margin: 5px;
    }
    .sub-bottom-content-left > div a{
        font-size: 14px;
        float: left;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-midle {
        padding-bottom: 5px;
        margin: 5px 7px;
        max-width: 640px;
        width: 34%;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-midle h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-midle > div{
        margin: 5px;
    }
    .sub-bottom-content-midle > div a{
        font-size: 14px;
        float: left;    
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-right {
        padding-bottom: 5px;
        margin: 5px auto;
        float: left;
        max-width: 640px;
        width: 32%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-right h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-right > div{
        margin: 5px;
    }
    .sub-bottom-content-right > div a{
        font-size: 14px;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        float: left;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    #footer  {
        float: left;
        margin: 10px;
    }
    #footer p{
        font-size: 10px;
        color: #333;
    }
    #linkkecamatan{
        position: relative;
        top: 30px;
        float: left;
        width: 40%;
        
        z-index: 10;
    }
    .linkkec{
     float: left;   
     width: 49%;
     margin-bottom: 5px;
     
    }
    .linkkec a{
     text-decoration: none;   
     width: 100%;   
     color:  #ff3300;
    }
    .buletan{
     float: left;   
     width: 15px;   
     height: 15px;
     border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    -khtml-border-radius: 50%;
    background-color: #FF9100;
    }
    .judullinkkec{
     float: left;   
     width: 70%;      
     padding-left: 5px;
    }
} 
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) 
and (max-width : 480px) {
    /* Styles */
    body {
        font-family: verdana;
        margin: 0px;
    }
    h1, h2, h3, h4, h5, p, a, ul, li {
        margin: 0;
        padding: 0;
    }
    #container {
        margin: auto;
        padding: 0px;
        max-width: 1000px;
    }
    #header {
        float: left;
        position: relative;
        width: 100%;
        min-height: 100px;
    }
    .header-top {
        padding-top: 5px;
        min-height: 27px;
        width: 100%;
        background: #FAA819;
    }
    .header-top a {
        float: left;
        color: #fff;
        text-decoration: none;
        padding-right: 10px;
        padding-left: 10px;
        border-right: solid 1px #333;
    }
    .header-midle {
        width: 100%;
        background: rgb(249,249,249); /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url();
        background: -moz-linear-gradient(top,  rgba(249,249,249,1) 0%, rgba(255,222,181,1) 47%, rgba(250,168,25,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(47%,rgba(255,222,181,1)), color-stop(100%,rgba(250,168,25,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#faa819',GradientType=0 ); /* IE6-8 */

        float: left;
    }
    .header-midle .logo {
        text-align: center;
    }
    .header-midle .logo img{
        max-width: 100px;
        margin: 10px;
        float: none;
    }
    .header-midle .title{
        margin: 10px;
        text-align: center;
    }
    .header-midle .title h3 {
        font-size: 20px;
        color: #333;
    }
    .header-midle .title h4 {
        color: #333;
        font-size: 10px;
    }
    .connect {
        float: none;
        margin: auto;
        margin: 10px;
        clear: both;
    }
    .connect .social {
        float: none;
        text-align: center;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background: #fff;
        padding: 5px;
    }
    .connect p{
        display: none;
    }
    #search {
        float: none;
        margin: 10px auto;
        text-align: center;
    }
    .menu {
        width: 100%;
        float: left;
        min-height: 40px;
        background: #FF9100;
    }
    .menu ul {
        float: left;
        position: relative;
        padding: 10px;
    }
    .menu ul li {
        list-style: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px 5px 5px 5px;
        background: none repeat scroll 0% 0% rgb(245, 227, 203);
        padding: 2px;
        float: left;
        text-decoration: none;
        margin: 0px 2px 4px;
        width: 92px;
        font-size: 14px;
        text-align: center;
    }
    .menu ul li a {
        text-decoration: none;
        color: #333;
    }
    .menu ul li a:hover {
        color: #FF9100; 
    }
    #slide {
        width: 100%;
        background: #f9e6ab;
        margin: 5px auto;
        float: left;
    }
    #slide img{
        width: 100%;
        max-width: 600px;
    }
    #content {
        float: left;
        position: relative;
    }
    .left-content {
        margin-top: 10px;
        max-width: 480px;
        width: 95%;
        margin: auto;
    }
    .subdomain {
        max-width: 480px;
        width: 100%;
        float: left;
        margin: 0px auto 10px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
    }
    .subdomain h4 {
        color: rgb(255, 255, 255);
        min-height: 20px;
        background: none repeat scroll 0% 0% rgb(255, 145, 0);
        padding: 5px;
    }
    .subdomain > div{
        text-align: center;
        max-width: 480px;
        width: 100%;
        margin: 5px;
    }
    .subdomain > div img{
        margin: 4px;
        width: 150px;
        float: left;
    }
    .top-content {
        margin: 10px auto;
        max-width: 480px;
        width: 95%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;
    }
    .sub-top-content {
        padding-bottom: 5px;
        margin: 0 0 5px 0;
        float: left;
        max-width: 480px;
        width: 100%;
    }
    .sub-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 480px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-top-content > div{
        width: 98%;
        margin: 5px;
        float: left;
    }
    .sub-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .sub-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .sub-top-content > div p{
        color: #333333;
        float: left;
        font-size: 13px;
    }
    .sub-top-content > div img{
        margin-right: 5px;
        width: 150px;
        float: left;
    }
    .no-hal {
        width: 70px;
        float: right;
        margin: 10px;
    }
    .no-hal a{
        color: #FF9100;
        text-decoration: none;
        font-size: 14px;
        margin-right: 5px;
    }
    .detail-top-content {
        padding-bottom: 5px;
        margin: 5px 0 5px 0;
        float: left;
        max-width: 1024px;
        width: 100%;
    }
    .detail-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 1024px;
        padding: 5px;
        background: #FF9100;
    }
    .detail-top-content > div{
        width: 100%;
        margin: 5px;
        float: left;
    }
    .detail-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .detail-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .detail-top-content > div p{
        text-align: justify;
        color: #333333;
        float: left;
        font-size: 12px;
        padding: 5px;
        padding: 5px;
        width: 96%;
    }
    .detail-top-content > div img{
        margin: auto;
        width: 98;
        float: left;
    }
    .right-content {
        margin: auto;
        max-width: 480px;
        width: 95%;
        padding-bottom: 3px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;

    }
    .right-content h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .right-content > div{
        float: left;
        width: 100%;
        margin: 5px;
        float: left;
    }
    .right-content > div h5{
        float: left;
        float: left;
        width: 100%; 
        color: #333333;
    }
    .span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .right-content > div p{
        color: #333333;
        font-size: 13px;
    }
    .right-content > div img{
        margin-right: 5px;
        width: 100px;
        float: left;
    }
    .more {
        text-align: center;
        padding: 5px;
        background: #FF9100;
        color: #fff;
        width: 60px;
        float: right;
        font-weight: bold;
        margin-right: 7px;
    }
    .bottom-content {
        margin: auto;
        max-width: 480px;
        width: 95%;
        padding: 5px 0;
    }
    .sub-bottom-content-left {
        margin: 5px auto;
        max-width: 480px;
        width: 100%;
        height: 227px;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-left h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-left > div{
        margin: 5px;
    }
    .sub-bottom-content-left > div a{
        font-size: 14px;
        float: left;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-midle {
        height: 227px;
        margin: 5px auto;
        max-width: 480px;
        width: 100%;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-midle h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-midle > div{
        margin: 5px;
    }
    .sub-bottom-content-midle > div a{
        font-size: 14px;
        float: left;    
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-right {
        height: 227px;
        margin: 5px auto;
        float: left;
        max-width: 480px;
        width: 100%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-right h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-right > div{
        margin: 5px;
    }
    .sub-bottom-content-right > div a{
        font-size: 14px;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        float: left;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    #footer  {
        float: left;
        margin: 10px;
    }
    #footer p{
        font-size: 10px;
        color: #333;
    }
  #linkkecamatan{
      margin: auto;
        position: relative;
        top: -30px;
        float: left;
        width: 100%;
        
        z-index: 10;
    }
    .linkkec{
     float: left;   
     width: 49%;
     margin-bottom: 5px;
     
    }
    .linkkec a{
     text-decoration: none;   
     width: 100%;   
     color:  #ff3300;
    }
    .buletan{
     float: left;   
     width: 15px;   
     height: 15px;
     border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    -khtml-border-radius: 50%;
    background-color: #FF9100;
    }
    .judullinkkec{
     float: left;   
     width: 70%;      
     padding-left: 5px;
    }  
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
    /* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 640px) {
    /* Styles */
    body {
        font-family: verdana;
        margin: 0px;
    }
    h1, h2, h3, h4, h5, p, a, ul, li {
        margin: 0;
        padding: 0;
    }
    #container {
        margin: auto;
        padding: 0px;
        max-width: 1000px;
    }
    #header {
        float: left;
        position: relative;
        width: 100%;
        min-height: 100px;
    }
    .header-top {
        padding-top: 5px;
        min-height: 27px;
        width: 100%;
        background: #FAA819;
    }
    .header-top a {
        float: left;
        color: #fff;
        text-decoration: none;
        padding-right: 10px;
        padding-left: 10px;
        border-right: solid 1px #333;
    }
    .header-midle {
        width: 100%;
        background: rgb(249,249,249); /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url();
        background: -moz-linear-gradient(top,  rgba(249,249,249,1) 0%, rgba(255,222,181,1) 47%, rgba(250,168,25,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(47%,rgba(255,222,181,1)), color-stop(100%,rgba(250,168,25,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#faa819',GradientType=0 ); /* IE6-8 */

        float: left;
    }
    .header-midle .logo {
        text-align: center;
    }
    .header-midle .logo img{
        max-width: 100px;
        margin: 10px;
        float: none;
    }
    .header-midle .title{
        margin: 10px;
        text-align: center;
    }
    .header-midle .title h3 {
        font-size: 20px;
        color: #333;
    }
    .header-midle .title h4 {
        color: #333;
        font-size: 10px;
    }
    .connect {
        float: none;
        margin: auto;
        margin: 10px;
        clear: both;
    }
    .connect .social {
        float: none;
        text-align: center;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background: #fff;
        padding: 5px;
    }
    .connect p{
        display: none;
    }
    #search {
        float: none;
        margin: 10px auto;
        text-align: center;
    }
    .menu {
        width: 100%;
        float: left;
        min-height: 40px;
        background: #FF9100;
    }
    .menu ul {
        float: left;
        position: relative;
        padding: 10px;
    }
    .menu ul li {
        text-align: center;
        list-style: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px 5px 5px 5px;
        background: none repeat scroll 0% 0% rgb(245, 227, 203);
        padding: 2px;
        float: left;
        text-decoration: none;
        margin: 0px 2px 4px;
        width: 92px;
        font-size: 14px;
    }
    .menu ul li a {
        text-decoration: none;
        color: #333;
    }
    .menu ul li a:hover {
        color: #FF9100; 
    }
    #slide {
        width: 100%;
        background: #f9e6ab;
        margin: 5px auto;
        float: left;
    }
    #slide img{
        width: 100%;
        max-width: 600px;
    }
    #content {
        float: left;
        position: relative;
    }
    .left-content {
        margin-top: 10px;
        max-width: 640px;
        width: 95%;
        margin: auto;
    }
    .subdomain {
        max-width: 640px;
        width: 100%;
        float: left;
        margin: 0px auto 10px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
    }
    .subdomain h4 {
        color: rgb(255, 255, 255);
        min-height: 20px;
        background: none repeat scroll 0% 0% rgb(255, 145, 0);
        padding: 5px;
    }
    .subdomain > div{
        text-align: center;
        max-width: 640px;
        width: 100%;
        margin: 5px;
    }
    .subdomain > div img{
        margin: 4px;
        width: 150px;
        float: left;
    }
    .top-content {
        margin: 10px auto;
        max-width: 640px;
        width: 95%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;
    }
    .sub-top-content {
        padding-bottom: 5px;
        margin: 0 0 5px 0;
        float: left;
        max-width: 640px;
        width: 100%;
    }
    .sub-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 640px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-top-content > div{
        width: 98%;
        margin: 5px;
        float: left;
    }
    .sub-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .sub-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .sub-top-content > div p{
        color: #333333;
        float: left;
        font-size: 13px;
    }
    .sub-top-content > div img{
        margin-right: 5px;
        width: 150px;
        float: left;
    }
    .no-hal {
        width: 70px;
        float: right;
        margin: 10px;
    }
    .no-hal a{
        color: #FF9100;
        text-decoration: none;
        font-size: 14px;
        margin-right: 5px;
    }
    .detail-top-content {
        padding-bottom: 5px;
        margin: 5px 0 5px 0;
        float: left;
        max-width: 1024px;
        width: 100%;
    }
    .detail-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 1024px;
        padding: 5px;
        background: #FF9100;
    }
    .detail-top-content > div{
        width: 100%;
        margin: 5px;
        float: left;
    }
    .detail-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .detail-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .detail-top-content > div p{
        text-align: justify;
        color: #333333;
        float: left;
        font-size: 12px;
        padding: 5px;
        width: 96%;
    }
    
    .detail-top-content > div img{
        margin: auto;
        width: 98%;
        float: left;
    }
    .right-content {
        margin: auto;
        max-width: 640px;
        width: 95%;
        padding-bottom: 3px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;

    }
    .right-content h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .right-content > div{
        float: left;
        width: 100%;
        margin: 5px;
        float: left;
    }
    .right-content > div h5{
        float: left;
        float: left;
        width: 100%; 
        color: #333333;
    }
    .span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .right-content > div p{
        color: #333333;
        font-size: 13px;
    }
    .right-content > div img{
        margin-right: 5px;
        width: 100px;
        float: left;
    }
    .more {
        text-align: center;
        padding: 5px;
        background: #FF9100;
        color: #fff;
        width: 60px;
        float: right;
        font-weight: bold;
        margin-right: 7px;
    }
    .bottom-content {
        margin: auto;
        max-width: 640px;
        width: 95%;
        padding: 5px 0;
    }
    .sub-bottom-content-left {
        margin: 5px auto;
        max-width: 640px;
        width: 100%;
        height: 227px;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-left h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-left > div{
        margin: 5px;
    }
    .sub-bottom-content-left > div a{
        font-size: 14px;
        float: left;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-midle {
        height: 227px;
        margin: 5px auto;
        max-width: 640px;
        width: 100%;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-midle h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-midle > div{
        margin: 5px;
    }
    .sub-bottom-content-midle > div a{
        font-size: 14px;
        float: left;    
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-right {
        height: 227px;
        margin: 5px auto;
        float: left;
        max-width: 640px;
        width: 100%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-right h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-right > div{
        margin: 5px;
    }
    .sub-bottom-content-right > div a{
        font-size: 14px;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        float: left;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    #footer  {
        float: left;
        margin: 10px;
    }
    #footer p{
        font-size: 10px;
        color: #333;
    }
#linkkecamatan{
       margin: auto;
        position: relative;
        top: -30px;
        float: left;
        width: 100%;
        
        z-index: 10;
    }
    .linkkec{
     float: left;   
     width: 49%;
     margin-bottom: 5px;
     
    }
    .linkkec a{
     text-decoration: none;   
     width: 100%;   
     color:  #ff3300;
    }
    .buletan{
     float: left;   
     width: 15px;   
     height: 15px;
     border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    -khtml-border-radius: 50%;
    background-color: #FF9100;
    }
    .judullinkkec{
     float: left;   
     width: 70%;      
     padding-left: 5px;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) {
    /* Styles */
    body {
        font-family: verdana;
        margin: 0px;
    }
    h1, h2, h3, h4, h5, p, a, ul, li {
        margin: 0;
        padding: 0;
    }
    #container {
        margin: auto;
        padding: 0px;
        max-width: 1000px;
    }
    #header {
        float: left;
        position: relative;
        width: 100%;
        min-height: 100px;
    }
    .header-top {
        padding-top: 5px;
        min-height: 27px;
        width: 100%;
        background: #FAA819;
    }
    .header-top a {
        float: left;
        color: #fff;
        text-decoration: none;
        padding-right: 10px;
        padding-left: 10px;
        border-right: solid 1px #333;
    }
    .header-midle {
        width: 100%;
        background: rgb(249,249,249); /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url();
        background: -moz-linear-gradient(top,  rgba(249,249,249,1) 0%, rgba(255,222,181,1) 47%, rgba(250,168,25,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(47%,rgba(255,222,181,1)), color-stop(100%,rgba(250,168,25,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(249,249,249,1) 0%,rgba(255,222,181,1) 47%,rgba(250,168,25,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#faa819',GradientType=0 ); /* IE6-8 */

        float: left;
    }
    .header-midle .logo {
        text-align: center;
    }
    .header-midle .logo img{
        max-width: 100px;
        margin: 10px;
        float: left;
    }
    .header-midle .title{
        margin-top: 100px;
        text-align: left;
        float: left;
    }
    .header-midle .title h3 {
        font-size: 20px;
        color: #333;
    }
    .header-midle .title h4 {
        color: #333;
        font-size: 10px;
    }
    .connect {
        float: right;
        margin: auto;
        margin: 10px;
        width: 300px;
        text-align: right;
    }
    .connect .social {
        float: right;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background: #fff;
        padding: 5px;
        width: 176px;
    }
    .connect p{
        display: none;
    }
    #search {
        width: 300px;
        float: right;
        margin: 10px;
        text-align: right;
    }
    .menu {
        width: 100%;
        float: left;
        min-height: 40px;
        background: #FF9100;
    }
    .menu ul {
        float: left;
        position: relative;
        padding: 10px;
    }
    .menu ul li {
        text-align: center;
        list-style: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px 5px 5px 5px;
        background: none repeat scroll 0% 0% rgb(245, 227, 203);
        padding: 2px;
        float: left;
        text-decoration: none;
        margin: 0px 2px 4px;
        width: 92px;
        font-size: 14px;
    }
    .menu ul li a {
        text-decoration: none;
        color: #333;
    }
    .menu ul li a:hover {
        color: #FF9100; 
    }
    #slide {
        width: 100%;
        background: #f9e6ab;
        margin: 5px auto;
        float: left;
    }
    #slide img{
        width: 100%;
        max-width: 600px;
    }
    #content {
        float: left;
        position: relative;
    }
    .left-content {
        max-width: 1024px;
        width: 100%;
        margin: auto;
    }
    .subdomain {
        max-width: 1024px;
        width: 49%;
        float: left;
        margin: 3px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
    }
    .subdomain h4 {
        color: rgb(255, 255, 255);
        min-height: 20px;
        background: none repeat scroll 0% 0% rgb(255, 145, 0);
        padding: 5px;
    }
    .subdomain > div{
        text-align: center;
        max-width: 640px;
        width: 100%;
        margin: 5px;
    }
    .subdomain > div img{
        margin: 4px;
        width: 150px;
        float: left;
    }
    .top-content {
        margin: auto;
        max-width: 1024px;
        width: 99%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;
        margin-top: 5px;
    }
    .sub-top-content {
        padding-bottom: 5px;
        margin: 5px 0 5px 0;
        float: left;
        max-width: 1024px;
        width: 100%;
    }
    .sub-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 1024px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-top-content > div{
        width: 30%;
        margin: 5px;
        float: left;
    }
    .sub-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .sub-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .sub-top-content > div p{
        color: #333333;
        float: left;
        font-size: 13px;
    }
    .sub-top-content > div img{
        margin-right: 5px;
        width: 150px;
        float: left;
    }
    .no-hal {
        width: 70px;
        float: right;
        margin: 10px;
    }
    .no-hal a{
        color: #FF9100;
        text-decoration: none;
        font-size: 14px;
        margin-right: 5px;
    }
    .detail-top-content {
        padding-bottom: 5px;
        margin: 5px 0 5px 0;
        float: left;
        max-width: 1024px;
        width: 100%;
    }
    .detail-top-content h4 {
        color: #fff;
        min-height: 20px;
        max-width: 1024px;
        padding: 5px;
        background: #FF9100;
    }
    .detail-top-content > div{
        width: 100%;
        margin: 5px;
        float: left;
    }
    .detail-top-content > div h5{
        float: left;
        width: 100%; 
        color: #333333;
    }
    .detail-top-content > div span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .detail-top-content > div p{
        text-align: justify;
        color: #333333;
        float: left;
        font-size: 12px;
        padding: 5px;
        width: 96%;
        
    }
    .detail-top-content > div img{
        margin: auto;
        width: 98%;
        float: left;
    }
    .right-content {
        margin: auto;
        max-width: 1024;
        width: 99%;
        padding-bottom: 3px;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1); 
        overflow: hidden;
        margin-top: 9px;

    }
    .right-content h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .right-content > div{
        float: left;
        width: 47%;
        margin: 5px;
        float: left;
    }
    .right-content > div h5{
        float: left;
        float: left;
        width: 100%; 
        color: #333333;
    }
    .span{
        float: left;
        margin-bottom: 5px;
        color: #999999;
        width: 100%; 
        font-size: 10px;
    }
    .right-content > div p{
        color: #333333;
        font-size: 13px;
    }
    .right-content > div img{
        margin-right: 5px;
        width: 100px;
        float: left;
    }
    .more {
        text-align: center;
        padding: 5px;
        background: #FF9100;
        color: #fff;
        width: 60px;
        float: right;
        font-weight: bold;
        margin-right: 7px;
    }
    .bottom-content {
        margin: auto;
        max-width: 1024px;
        width: 99%;
        padding: 5px 0;
    }
    .sub-bottom-content-left {
        padding-bottom: 5px;
        margin: 5px auto;
        max-width: 640px;
        width: 32%;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-left h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-left > div{
        margin: 5px;
    }
    .sub-bottom-content-left > div a{
        font-size: 14px;
        float: left;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-midle {
        padding-bottom: 5px;
        margin: 5px 7px;
        max-width: 640px;
        width: 34%;
        float: left;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-midle h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-midle > div{
        margin: 5px;
    }
    .sub-bottom-content-midle > div a{
        font-size: 14px;
        float: left;    
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    .sub-bottom-content-right {
        padding-bottom: 5px;
        margin: 5px auto;
        float: left;
        max-width: 640px;
        width: 32%;
        -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
        -moz-box-shadow:    0px 0px 3px rgba(0, 0, 0, 1);
        box-shadow:         0px 0px 3px rgba(0, 0, 0, 1);
    }
    .sub-bottom-content-right h4 {
        color: #fff;
        min-height: 20px;
        padding: 5px;
        background: #FF9100;
    }
    .sub-bottom-content-right > div{
        margin: 5px;
    }
    .sub-bottom-content-right > div a{
        font-size: 14px;
        width: 100%;
        padding-bottom: 5px;
        margin-bottom: 5px;
        float: left;
        text-decoration: none;
        color: #333;
        border-bottom: dotted 1px #666;
    }
    #footer  {
        float: left;
        margin: 10px;
    }
    #footer p{
        font-size: 10px;
        color: #333;
    }
    
    #linkkecamatan{
        position: relative;
        top: 30px;
        float: left;
        width: 40%;
        
        z-index: 10;
    }
    .linkkec{
     float: left;   
     width: 49%;
     margin-bottom: 5px;
     
    }
    .linkkec a{
     text-decoration: none;   
     width: 100%;   
     color:  #ff3300;
    }
    .buletan{
     float: left;   
     width: 15px;   
     height: 15px;
     border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    -khtml-border-radius: 50%;
    background-color: #FF9100;
    }
    .judullinkkec{
     float: left;   
     width: 70%;      
     padding-left: 5px;
    }

}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    /* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    /* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
    /* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
    /* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
    /* Styles */
}
h5 a{
  text-decoration: none;
  color: #222222;
}

#idfile a{
  text-decoration: none;
  color: #222222;
  font-size: 12px;
  
}
